"use strict";


const Joi = require('joi');
const CheckUtil = require("../utils/check");
const BasicsCtl = require("../basics/clz/basectl");
const HomeImpl = require("../service/home");

class HomeCtl extends BasicsCtl {

  constructor(context) {
    super(context);
    this.homeImpl = new HomeImpl(this.cloud);
  }

  /**
   * 查询游戏
   */
  async findUser() {
    return await this.homeImpl.findUser(this.params);
  }

  async goOrder() {
    return await this.homeImpl.goOrder(this.params);
  }

  async deleteOrder() {
    return await this.homeImpl.deleteOrder();
  }

  
  
}
module.exports = HomeCtl;